var t = Object.defineProperty;
var p = (o, s, r) =>
  s in o
    ? t(o, s, { enumerable: !0, configurable: !0, writable: !0, value: r })
    : (o[s] = r);
var e = (o, s, r) => (p(o, typeof s != 'symbol' ? s + '' : s, r), r);
import { _defaults as c } from './defaults.js';
class n {
  constructor(s) {
    e(this, 'options');
    this.options = s || c;
  }
  /**
   * Process markdown before marked
   */
  preprocess(s) {
    return s;
  }
  /**
   * Process HTML after marked is finished
   */
  postprocess(s) {
    return s;
  }
  /**
   * Process all tokens before walk tokens
   */
  processAllTokens(s) {
    return s;
  }
}
e(
  n,
  'passThroughHooks',
  /* @__PURE__ */ new Set(['preprocess', 'postprocess', 'processAllTokens']),
);
export { n as _Hooks };
